package org.example.dao.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("user")
@Data
public class UserEntity {
    @TableId(type = IdType.AUTO)
    private Integer id;

    // ALTER TABLE user ADD UNIQUE INDEX uk_user_username (username);
    private String username;
    private Integer status;
    private String password;
}
